package test.redis;

import redis.clients.jedis.JedisPool;

/**
 * @Author: sunshuo
 * @Date: 2019/8/8/008 18:23
 * @Version: 1.0
 */
public class RedisSingleUtil extends RedisUtil {

    public RedisSingleUtil() {
        String host = RedisProperties.getString("redis.host", "192.168.75.224");
        int port = RedisProperties.getInteger("redis.port", 6379);

        jedisPool = new JedisPool(RedisConfig.poolConfig, host, port, RedisConfig.timeout, RedisConfig.password);
    }
}
